package com.rshang.rsdp.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 权限信息表
 * </p>
 *
 * @author zhangjun
 * @since 2017-07-21
 */
@TableName("TB_AUTH")
public class TbAuth extends Model<TbAuth> {

    private static final long serialVersionUID = 1L;

	@TableId(value="AUTH_ID", type= IdType.AUTO)
	private Integer authId;
    /**
     * 权限父ID
     */
	@TableField("AUTH_PID")
	private Integer authPid;
    /**
     * 权限名称
     */
	@TableField("AUTH_NAME")
	private String authName;
    /**
     * 权限类型 M模块 A权限 O操作
     */
	@TableField("AUTH_TYPE")
	private String authType;
    /**
     * 权限地址
     */
	@TableField("AUTH_URL")
	private String authUrl;
    /**
     * 权限排序
     */
	@TableField("AUTH_ORDER")
	private String authOrder;
	@TableField("IS_SHOW")
	private String isShow;
    /**
     * 录入人
     */
	@TableField("LRR")
	private String lrr;
    /**
     * 录入时间
     */
	@TableField("LRSJ")
	private Date lrsj;
    /**
     * 录入人
     */
	@TableField("XGR")
	private String xgr;
    /**
     * 修改日期
     */
	@TableField("XGSJ")
	private Date xgsj;
    /**
     * 有效标志 1有效 0无效
     */
	@TableField("YX_BZ")
	private String yxBz;


	public Integer getAuthId() {
		return authId;
	}

	public void setAuthId(Integer authId) {
		this.authId = authId;
	}

	public Integer getAuthPid() {
		return authPid;
	}

	public void setAuthPid(Integer authPid) {
		this.authPid = authPid;
	}

	public String getAuthName() {
		return authName;
	}

	public void setAuthName(String authName) {
		this.authName = authName;
	}

	public String getAuthType() {
		return authType;
	}

	public void setAuthType(String authType) {
		this.authType = authType;
	}

	public String getAuthUrl() {
		return authUrl;
	}

	public void setAuthUrl(String authUrl) {
		this.authUrl = authUrl;
	}

	public String getAuthOrder() {
		return authOrder;
	}

	public void setAuthOrder(String authOrder) {
		this.authOrder = authOrder;
	}

	public String getIsShow() {
		return isShow;
	}

	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}

	public String getLrr() {
		return lrr;
	}

	public void setLrr(String lrr) {
		this.lrr = lrr;
	}

	public Date getLrsj() {
		return lrsj;
	}

	public void setLrsj(Date lrsj) {
		this.lrsj = lrsj;
	}

	public String getXgr() {
		return xgr;
	}

	public void setXgr(String xgr) {
		this.xgr = xgr;
	}

	public Date getXgsj() {
		return xgsj;
	}

	public void setXgsj(Date xgsj) {
		this.xgsj = xgsj;
	}

	public String getYxBz() {
		return yxBz;
	}

	public void setYxBz(String yxBz) {
		this.yxBz = yxBz;
	}

	@Override
	protected Serializable pkVal() {
		return this.authId;
	}

	@Override
	public String toString() {
		return "TbAuth{" +
			"authId=" + authId +
			", authPid=" + authPid +
			", authName=" + authName +
			", authType=" + authType +
			", authUrl=" + authUrl +
			", authOrder=" + authOrder +
			", isShow=" + isShow +
			", lrr=" + lrr +
			", lrsj=" + lrsj +
			", xgr=" + xgr +
			", xgsj=" + xgsj +
			", yxBz=" + yxBz +
			"}";
	}
}
